package com.baizhi.shane.shane.service;

import com.baizhi.shane.shane.entity.ShaneAgainstAnswer;
import com.baizhi.shane.shane.vo.AnswerUserRelVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author wbz12
* @description 针对表【shane_against_answer(啥呢回答反对表)】的数据库操作Service
* @createDate 2023-07-25 22:33:37
*/
public interface ShaneAgainstAnswerService extends IService<ShaneAgainstAnswer> {

    /**
     * 用户反对回答，只需要answerId即可，userId自动分配为当前用户
     *
     * @Author 闻柏智
     * @Date 16:38 2023/10/12
     * @Param answerUserRelVO
     * @return java.lang.String
     **/
    String insertOneAnswerAgainst(AnswerUserRelVO answerUserRelVO);

    /**
     * 用户取消反对回答，只需要answerId即可，userId自动分配为当前用户
     *
     * @Author 闻柏智
     * @Date 16:42 2023/10/12
     * @Param answerUserRelVO
     * @return java.lang.String
     **/
    String deleteOneAnswerAgainst(AnswerUserRelVO answerUserRelVO);
}
